<!--{*
 * edit by  : hongdtb
 * function : add new register link
 *}-->

<div class="block_outer">
    <div id="login_area">
        <h2><img src="<!--{$TPL_URLPATH}-->img/title/icon_bloc_login.gif" /><span class="title"><!--{t string="la up login"}--></span></h2>
        <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form')">
            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
            <input type="hidden" name="mode" value="login" />
            <input type="hidden" name="url" value="<!--{$smarty.server.REQUEST_URI|h}-->" />
            <div class="block_body">
                <!--{if $tpl_login}-->
                    <p><!--{t string="la welcome"}--><br />
                        <span class="user_name"><!--{$tpl_name1|h}--> <!--{$tpl_name2|h}--></span><br />
                        <!--{if $smarty.const.USE_POINT !== false}-->
                            <!--{t string="la point"}-->:<span class="point"> <!--{$tpl_user_point|number_format|default:0}--> pts</span>
                        <!--{/if}-->
                    </p>
                    <!--{if !$tpl_disable_logout}-->
                        <p class="btn">
							<button class="bt02" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;"><!--{t string="la logout"}--></button>
                        </p>
                    <!--{/if}-->
                <!--{else}-->
                    <dl class="formlist">
                        <dt><!--{t string="la email"}-->:</dt>
                        <dd>
                            <input type="text" name="login_email" class="box140" value="<!--{$tpl_login_email|h}-->" style="ime-mode: disabled;" />
                        </dd>
                        <dd class="mini">
                            <input type="checkbox" name="login_memory" id="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}--> />
                            <label for="login_memory"><span><!--{t string="la save password"}--></span></label>
                        </dd>
                    </dl>
                    <dl class="formlist">
                        <dt class="password"><!--{t string="la password"}-->:</dt>
                        <dd><input type="password" name="login_pass" class="box140" /></dd>
                        <dd class="mini">
                        <!--
                            <a href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="win01('<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank"><!--{t string="la forgot"}-->?</a>
                            <br/><a href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/entry/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="win01('<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/entry/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank"><!--{t string="la register"}--></a>
                        -->
                            <a href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/forgot/index/<!--{$smarty.const.LANGUAGE}-->.html" onclick="win01('<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/forgot/index/<!--{$smarty.const.LANGUAGE}-->.html','forget','600','400'); return false;" target="_blank"><!--{t string="la forgot"}-->?</a>
                            <br/><a href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/entry/index/<!--{$smarty.const.LANGUAGE}-->.html" onclick="win01('<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/entry/index/<!--{$smarty.const.LANGUAGE}-->.html','forget','600','400'); return false;" target="_blank"><!--{t string="la register"}--></a>

                        </dd>
                    </dl>
                    <p class="btn">
						<button class="bt02"><!--{t string="la login"}--></button>
                    </p>
                <!--{/if}-->
            </div>
        </form>
    </div>
</div>